package ctgu.yao.cloud.service.impl;

import ctgu.yao.cloud.po.Company;
import ctgu.yao.cloud.mapper.CompanyMapper;
import ctgu.yao.cloud.service.CompanyService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Y
 * @since 2022-08-16
 */
@Service
public class CompanyServiceImpl extends ServiceImpl<CompanyMapper, Company> implements CompanyService {
    @Autowired
    private CompanyMapper companyMapper;
    @Override
    public boolean save(Company company, Integer cuid) {
        company.setCuid(cuid);
        int insert = this.companyMapper.insert(company);
        return  false;
    }
}
